package managerSIP;

public interface ManagerListener {

    /**
     * This method is called when an user joins a session
     * @param Session String Session name
     * @param userID String userID
     */
    void userJoinedSession(String session, String userID);

    /**
     * This method is called when an user leaves a session
     * @param Session String Session name
     * @param userID String userID
     */
    void userLeaveSession(String session, String userID);

    /** This method is called when a channel joins a meetme conference (MeetMeJoinEvent).
     *
     * @param sessionName String The Session to which the conference belongs
     * @param conference int The conference number
     * @param userID String userID
     * @param user String user
     */
    void userJoinedConference(String sessionName, int conference, String userID, String user);

    /** This method is called when a channel leaves a meetme conference (MeetMeLeaveEvent).
     *
     * @param sessionName String The Session to which the conference belongs
     * @param conference int The conference number
     * @param userID String userID
     * @param user String user
     */
    void userLeaveConference(String sessionName, int conference, String userID,String user);

}
